package com.bw.property.api

import com.bw.network.HttpInterceptorType
import com.bw.network.HttpManager
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
object PropertyHiltModule {
    @Provides
    @Singleton
    fun getPropertyApiServer():PropertyApiServer{
        return HttpManager.createApiServer(PropertyApiServer::class.java,HttpInterceptorType.TOKEN)
    }

}